package com.yunxin.core.customer.dto;

import com.yunxin.common.base.BasePageRequest;
import com.yunxin.common.base.RangeSearch;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author zero°
 * @since 2023-06-08
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Schema(description = "分页查询企微客户列表对象")
public class CustomerWechatPageDto extends BasePageRequest implements Serializable {

    @Schema(description = "添加微信开始时间")
    private String startWechatAddTime;

    @Schema(description = "添加微信开始时间",hidden = true)
    private Long startWechatAddTimeLong;

    @Schema(description = "添加微信结束时间")
    private String endWechatAddTime;

    @Schema(description = "添加微信结束时间",hidden = true)
    private Long endWechatAddTimeLong;

    @Schema(description = "业务员id")
    private Long salesmanId;

    @Schema(description = "话务员id")
    private Long telephonerId;

    @Schema(description = "跟进状态 0未跟进 1已跟进")
    private Integer followStatus;

    @Schema(description = "性别 0-未知 1-男性 2-女性")
    private Integer wechatGender;

    @Schema(description = "企微客户来源")
    private String wechatSource;

    @Schema(description = "1.企微、2.同事流转、3.上游分配",hidden = true)
    private Integer source;

    @Schema(description = "团队id")
    private Integer teamId;

    /**
     * 商户id
     */
    @Schema(description = "商户id,只有超级管理员才能选择")
    private Long merchantId;

    /**
     * 系统用户id
     */
    @Schema(hidden = true)
    private List<Long> sysUserIds;
    //0未流失  1查流失
    @Schema(hidden = true)
    private Integer isRun;
    //是否是业务员
    @Schema(hidden = true)
    Boolean isSalesmanUser;

}
